export default [
  {
    path: '/user',
    layout: false,
    routes: [
      { name: '登录', path: '/user/login', component: './user/Login' },
      { component: './404' },
    ],
  },
  {
    path: '/Model',
    name: "模型管理",
    icon: 'crown',
    routes: [
      { path: '/model/train', name: "训练模型",icon: 'table', component: './Model/train' },
      { path: '/model/list', name: "模型列表",icon: 'table', component: './Model/ModelList' },
      { path: "/model/modelist",name: "预测数据",component: './Model/Predicted'},
      { path: '/model/result', name: "结果列表",icon: 'table', component: './Model/result' },
      { path: '/model/index', name: '结果页面', icon: 'smile', component: './forecastResultPage/index' },
    ],
  },
  { path: '/', redirect: '/model/train' },
  { component: './404' },
];
